package com.qy139.auth.service.impl;

import com.qy139.auth.mapper.TabRoleMapper;
import com.qy139.auth.service.ITabRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qy139.entity.TabRole;
import com.qy139.util.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
@Service
public class TabRoleServiceImpl extends ServiceImpl<TabRoleMapper, TabRole> implements ITabRoleService {

    @Resource
    private TabRoleMapper roleMapper;
    @Override
    public Result uniqueCheck(TabRole tabRole) {
        return new Result(roleMapper.uniqueCheck(tabRole));
    }
}
